Sir Keir Starmer has backed plans to pay countries such as Vietnam and Kurdistan in an attempt to cut the number of illegal migrants leaving each year for Britain.