Simplify RegionsSet.flush.
Add some tests for adding many regions at once.