[GHC] #10815: Need more kind inference in associated type instances