[GHC] #10495: Total inability to infer type for coerce