Resident doctors deserve a stable and equitable future in the NHS