There is a short window for international diplomacy to find a face-saving formula for the Iran-backed militant group