Fixed delete() method for RadixTrie