[GHC] #9171: Can't match type family with kind polymorphism