Flaws in the system are killing our young doctors