Make DenseSet's erase pass on the return value rather than swallowing it.