A NSW parliamentary secretary has been sacked after tensions boiled over in the Coalition's koala row.