Bankruptcy may be the trump card in foreclosure cases