China and India are pulling back from the brink