The question should have been, “Does it make sense to liquidate your IRA, pay the penalty, and pay off your mortgage before the government STEALS the IRA?”
Yes, you'll want to get that done first so the bank can steal your house without complications. :)