[GHC] #14390: Panic when defining an instance for (~~) [ppr_equality: homogeneity]