The layoffs are the latest indication of Health and Human Services Secretary Robert F. Kennedy Jr.’s drastic effort to completely remake the nation’s public health infrastructure.