David Oliver: Cutting resident doctors’ numbers or roles would threaten the NHS’s future