Simplify unions that have an any clause