Some cities with a lot of lead pipes might be given longer deadlines, the agency said.