Optimize lexical out of hot loop in "uniq"

And I've now given up on using grep{} in uniq(), the tests succeeed, but strange
unrelated things change, like giving the wrong error message:
$ perl6 -e 'Module.new'
===SORRY!===
Cannot assign a non-Perl 6 value to a Perl 6 container