Syria's army said it had taken control of 34 villages and towns east of Aleppo, including the key towns of Deir Hafer and Maskana.