The extraordinarily lenient treatment of foreclosures, particularly in California, is also premised on them being rare events caused by black swans like personal financial catastrophe. If folks use them merely when they're net beneficial, the generous leniency afforded folks in personal catastrophe will not be extended next time.
Banks understand this. This is why, when they write contracts between each other, defaults do not result in "Oh, sure, keep the property for another twelve months and then mail the keys in and we're even stevens."