Solely for the purpose of transferring to undergrad Med/Dent, the best undergrad degree is one that you can get very high GPA to make yourself more competitive for selection. Its content doesn't matter.
For applying later to graduate med/dent schools, same as above plus (if you plan to apply...