Labour aims to prove itself more hostile to migrants than both its Tory predecessors and Nigel Farage’s far-right Reform UK.