How can borrowers plan for emergencies to prevent foreclosure or financial loss during mortgage repayment?