Yosemite officials are trapping and killing deer mice whose overpopulation in the national park has been linked to a hantavirus outbreak that has killed three visitors, public health officials said.