Ecuador moves toward return of foreign military bases​