Sadly converts all the shiny for-of loops iterating over sets into reverse for loops over arrays.

Note, reverse looping is necessary as elements may be spliced out as the loops run.