Firm-bank linkages and optimal policies after a rare disaster