Keir Starmer has pledged to bring down net migration from a record high.