Type families: fixes in the new solver