Bankruptcy as implicit health insurance