Replace most nub uses with ordNub in compiler.
ordNub: Pattern match trival cases.