US president lashes out at New Delhi’s trade policies and economic ties with Russia but later signals deal possible