A police officer was killed and six of his comrades were wounded when authorities said an elderly man began shooting at deputies who came to serve a search warrant, barricading himself in his home with children and spraying bullets across his upscale suburban neighborhood.