If 990 of 1,000 is repaid and 10 remains, can it be treated as full discharge?

Kitab al-Rahn: Partial Repayment, Agency to Sell and Pledgee Rights