Virat Kohli’s record-extending 51st one-day century left India on the verge of the Champions Trophy semi-finals and Pakistan on the brink of elimination.