If our concern is with results, then we should be looking for the best predictor of results, and school type may well improve our predictions, as you say.
We should aim to admit to medical school the people who'll make the best doctors at age 40, not just the people with the best scores at age 18.
So in order to get the best doctors you can't just be all "meritocratic" by looking only at the results, i.e. grades, but have to take other factors into account.
---
The relationship between school type and academic performance at medical school: a national, multi-cohort study https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5589012/
What is the effect of secondary (high) schooling on subsequent medical school performance? A national, UK-based, cohort study. https://www.ncbi.nlm.nih.gov/pubmed/29792300