In the event of a foreclosure sale or other liquidation of the security for a loan, the Department of Veterans Affairs shall credit upon the indebtedness the greater of:
In no event shall the credit pursuant to paragraph (b) of this section exceed the amount of the gross indebtedness, nor shall such credit be less than the amount legally required to be credited to the indebtedness under local law. If a deed in lieu of foreclosure is accepted, the consideration will be a full and complete release of liability of the obligors, or such lesser amount as may be agreed upon between the obligors and the Department of Veterans Affairs.
38 C.F.R. §36.4513