David Ipp, QC accuses NSW Government of 'elaborate Clayton's' mining licence procedures