Afghanistan’s president vowed Wednesday to confront the government in Islamabad over a devastating suicide bombing against a Shiite shrine in Kabul that he said originated on Pakistani soil.