(b)where the sum total of the amounts paid and the amounts due in respect of the hire-purchase price immediately before the termination does not exceed one-half of the hire-purchase price, the hirer shall be liable to pay the difference between the said sum total and the said one-half, or the sum named in the agreement, whichever is less.