[GHC] #12006: Can't infer constraint of pattern synonyms