Fix invalidation of vector iterator while computing removed class fields.

Test: tests/test.py pass

Change-Id: I58eb0966972c8fc1f74cd6a28708c5f591a77f75
5 files changed