May reveals post-Brexit residency rights for EU nationals