EU plans sea operation to deter migrants