Perform erasure in hash table using the value to be erased.