[range] Optimize range::erase() in C++11