CMS closes major chapter of Higgs measurements