Ecuador's President Rafael Correa has ordered 20 Pentagon officers and staff to leave the country, a US embassy official said on Friday.