Helper function for clearing all items in linear probing hash table.