Replace most nub uses with ordNub in compiler.