The joint statement issued by New Delhi and Colombo during the Sri Lankan President’s India visit reveals the neighbours’ current preoccupations