Senators on the Health, Education, Labor, and Pensions committee were critical of Kennedy’s long history as an anti-vaccine campaigner.