Most people assume foreclosure wipes everything out. But when homes sell for more than what’s owed, that difference legally belongs to the former owner or heirs. We explain how this “surplus fund” loophole is helping some families recover tens of thousands.