Thousands of fighters and relatives depart for opposition-held areas after two out of three rebel groups surrender.