Bankruptcy is not a great outcome for any real estate loan. When a property gets in trouble, though, bankruptcy has its benefits, even for lenders.