From-SVN: r145841
* include/backward/hashtable.h (erase): Correctly handle erasing a reference to an entry in the hash table. * testsuite/backward/hash_map/25896.cc: New. * testsuite/backward/hash_set/25896.cc: New. From-SVN: r145788