Around the world, chemicals that once kept barnacles from attaching to the hulls of ships have leached into marine sediments.