Public-private hospital partnerships will be banned across NSW following the death of toddler Joe Massa on the Northern Beaches.