The United Nations envoy for Syria is stepping down after gains this year by Syrian, Russian, and Iranian forces in reasserting control over much of the country, eclipsing prospects for an international peace deal ending Syria's seven-year civil war.