It’s ideal to pay off your mortgage before retiring, but sometimes it’s not possible. You have alternatives.