Hi IRR
The biggest chink in a to d may be the refinance bit to minimise the debt on the ppor.
While there isnt an issue when that new place is first an IP, when converting to a PPOR, and auditor going through records in detail may argue that what you wanted to do is exactly what you have...