While not of zero importance, where one attends undergrad is of much less importance than GPA, MCAT, ECs, LORs and the applicant’s own communication & interpersonal skills.
Pick the undergrad that offers your D the best combination of fit, opportunity and cost.
Fit because happy students do better academically. (And there’s data to back that up.)
Opportunity for an exposure to variety of majors & careers because most freshmen pre-meds change their mind about med school. Opportunity on or near campus for leadership, community service, physician shadowing, clinical volunteering and laboratory research–all ECs needed to develop a strong CV for a med school application.
Cost because medical school is hideously expensive and there is little aid except for loans, loans & more loans and pre-meds should try to minimize their undergrad debt as much as possible.