Britain, Ireland to restrict work rights