[GHC] #14394: Inferred type for pattern synonym has redundant equality constraint