ICAC motion against NSW premier passes