From Paris in the 1920s to Surat’s 1994 plague scare and Baghdad’s recent mass culls, history reveals a pattern.