GENEVA — After months of diplomatic haggling and frustration, Syria’s government and opposition have committed to take part in a peace conference next month and will soon name their delegations, but Iran’s participation remains blocked by the United States, Lakhdar Brahimi, the United Nations special envoy coordinating preparations, said Friday.