[overlay][range] Replace the explicit call to Range::erase() with version using std::copy() and traits::resize<>