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