Pakistan Prime Minister Shehbaz Sharif said Friday that the United States and Iran had reached “a final, agreed upon text” for a peace deal, and that his country is “working closely with both sides to finalize the next steps.” Islamabad’s mediation efforts have won it respect in the geopolitical arena as the U.S.-Israel war with Iran has ground into its fourth month. Yet the costs of playing peacemaker are mounting.