Liberal MP's shock 2am resignation while facing Icac charges