Scientists tracked a drug-resistant bacteria strain that spread through a hospital, then faded away. The study shows how such germs rise and fall.