Opposition groups and others often argue that matric marks alone should determine whether someone gets into medical school – not factors such as race that people can’t control. But research finds that when it comes to making a good doctor, grades aren’t everything