Private wells at more than 40 homes in Andover near a former landfill were found to be contaminated with 1,4 dioxane, an industrial chemical that has the potential to cause cancer. Homes connected to the city’s water and sewer system were not contaminated.