The eradication of malaria in the world’s most populous nation offers lessons in how innovative treatments and aggressive tracking can keep the disease in check.