The army and its allies, backed by Russian air power, captured al-Khafsa in a recent campaign against Islamic State in the area northeast of Aleppo two months after the city’s main water supply was cut off.