Removing unnecessary code in generated file.
Fixing bug in removed() w.r.t. trie compaction; code generation yielded incorrect implementation.