Simplify sqlloader further

..by pushing the flush-on-duplicate-upsert-ID up to the outer level.
Now we know that all IDs named in a series of upserts will be unique
at the lower level.
More duplicate-ID related cleanups

They can't happen anymore, so don't check for them.