UN votes to reduce troop presence in Somalia by 1,000