Speed up make_simplified_union (#14370)
If there is only one non-union item, there's nothing interesting to do.
This is pretty common, and it avoids a fairly expensive
`_remove_redundant_union_items` call.
(Various small optimizations, including this, together netted a 6%
performance improvement in self check.)