[WinEH] Fix problem with removing an element from a SetVector while iterating.