Government facing Brexit defeat in Lords over EU nationals