When the officials of Flint, Mich., prepared to tap into the Flint River as a backup water source in 2007, they weren’t prepared for the crisis to follow.