Michigan, Flint to replace 18,000 lead-tainted water lines