The evacuations were taking place after a deal between Syria’s regime and rebels under which residents and rebels were transported out of Madaya and Zabadani, towns near Damascus that are surrounded by pro-government forces.