Implement pop_equiv() for HashMap