In experiments, researchers showed that the disease-spreading insects couldn’t resist the sweet smell of a fungus that infected and killed them.