Another hashmap memory deallocation fix

Made a couple bugs in my last deallocation fix. In particular I was not
cleaning up the cell if it had no collisions, and due to cell->next
check in while, I was not deallocating the last entry in the bucket
linked list.