Use set().union instead of set.union

This makes it work with no arguments. Thanks to @kjordahl for pointing this
out.
cleanup other set.union cases