Some doctors in training risk everything to change their residency program if their match wasn’t the right fit.