Chancellor Rachel Reeves pledged to stop using taxpayer-funded hotels to house asylum seekers by 2029.