Selling a house with a HELOC is common. Learn how the payoff works at closing and how it affects your equity.