Expanding a particular type family in type errors