[GHC] #11480: UndecidableSuperClasses causes the compiler to spin with UndecidableInstances