This strategy will save you tens of thousands in mortgage repayments