Finish trie by adding trie_remove()

Looks like I lost my bet :-) It turned out to be a little more complicated
than I thought. And when I got home again today, it turned out to be less
complex than I thought at second glance...

Well, here it is: the trie. :-)