The debt for the mortgae would have been the amount owing. Depending on the terms of the contract there pay have been 'penalties' for early repayment of the debt, but it's not normally like hire purchase where you are liable for all the interest, even if you settle early. Having said that, the new buyer may have come to an agreement with the mortgagers to settle for less than the debt.