Remove dead code in history builtin.
Add empty virtual destructor for lru_node_t.

history_lru_node_t has implicit destructor defined. However, because
it's being deleted as lru_node_t, it's not being actually called, as
lru_node_t doesn't have a virtual destructor.