China’s actions in the past weeks achieved precisely the opposite of what it wanted – it has pushed India into much closer partnerships with the west