NSW govt investigates botched surgery