That's a good point. I could probably quibble with the practical aspects of the approach (e.g. job loss resulting from medical catastrophe), but you're right that you could probably preserve some of your retirement assets.
The flip side is this is a contributing factor in everyone's healthcare costs being so high.
It sucks ruining your credit with a bankruptcy event, but it beats out draining your retirement plans.