The intersection in both orders is semantically the same, but has two issues:
there shouldn't be a trailing empty string
we should not generate two adjacent WildStr values.
Both of those are "unnormalized" patterns, but if we were to normalize the result is the same. Still it's better to fix it since it could have other cases where it fails in a serious way.
The intersection in both orders is semantically the same, but has two issues: