You may have enough home equity to pay off your mortgage with it — but that’s only a good idea in certain cases.