Major combat is winding down in Syria. The so-called Islamic State faces defeat from forces including a U.S.-led coalition, while Syrian government and Iran-backed militias have recaptured most of the territory lost to other rebel groups in the first years of the country’s civil war.