Correct flat_set::erase() + corresponding test.