Optimized deletion from vector