Officials ordered the slaughter of all poultry in five affected villages after officials confirmed the discovery of dead birds infected with an H5 strain of bird flu .