Labour has vowed to stop using asylum hotels by the end of this Parliament, which would be 2029, if not earlier.