UK-Ireland migration dispute deepens as Dublin prepares legislation