The approval marked a key step toward ending a ruinous two-year war that has destabilized the West Asia