In effect, you're drawing equity out of your investment property to reduce the interest on your non deductible loan.
It's fine to do this, but you can't claim the interest on the equity you draw from the IP, so the net effect is zero.
You can't claim the interest on the IP equity loan...