How to Efficiently Erase Vectors in C++