Codegen is_a? filtered union types into simple types
Fix is_a? codegen error when all types in union matches the filter
Codegen is_a? filtered union types into smaller unions