Clean up old hashmap code remnants.

This cleans up old hashmap_bucket struct, which was actually kind of pointless at this point. This cleans up the code and frees up some memory.