Network decontamination with local majority-based immunization