A mortgagor who has executed two or more mortgages in favour of the same mortgagee shall, in the absence of a contract to the contrary, when the principal money of any two or more of the mortgages has become due, be entitled to redeem any one such mortgage separately, or any two or more of such mortgages together.