When the grip of Iraq’s Tehran-backed Shi’ite Muslim parties and militias threatened to slip following the killing of Iranian general Qassem Soleimani, they turned to an unpredictable rival. At meetings in the Iranian holy city of Qom, they struck a deal with populist Shi’ite cleric...