The Environmental Protection Agency said Thursday evening that authorities in Michigan had failed to properly respond to an ongoing crisis involving lead-poisoned water in Flint, Mich., saying it would begin testing the city’s water and ordering an independent review of what happened.