Pakistani Prime Minister Imran Khan on Friday ordered an inquiry into the attack on China’s consulate in the coastal city of Karachi in which two policemen were killed.