Home equity loans come with appealing tax benefits. But do they apply when using the funds to buy a second home?