EU to face UK migration curbs with Brexit deadline