Prime Minister Theresa May has warned that European citizens arriving in Britain after Brexit next year may lose some rights, setting up a clash with the European Union over their treatment during any transition period.