I feel your pain! We have moved 6 times in the 8 years we've been married and our moves were not local!
I would keep looking and interviewing. So long as you can manage the commute, you could end up finding something perfect.
During an interview, if they ask about commitment say something like: While I'm excited to join (this company), I can never really know what life will bring. My goal is always to stay at a company, especially a good one, for a long time. Nowadays, people (especially younger ones) don't really stay in a job all that long like back in the day when people stayed for 25 years.
Oh and congrats on med school! Best to you and your family with the move! :)