You don't. However the interest on IPs is deductible, whereas the interest on a PPOR mortgage isn't. Ditto for depreciation.
So by renting + owning an IP you get more tax deductions than if you lived in the house you're paying off.
There are swings and roundabouts, and capital gains...