I've agonized over this as well.
My solutions:
1) Word my essays so this doesn't come up. I have been very successful at this.
2) Many schools write "an MD/PhD". It also flows off the tongue. Therefore, when I find myself with no other recourse, I write "an MD/PhD".