EU member states have agreed to ban a toxic substance widely found in clothing because it poses an “unacceptable risk” to the environment.