[GHC] #13774: Singletons code fails to typecheck when type signature involving type family is added