Modi has decided to honour Obama at a time when his own country has written him off