The E.P.A. announced that it would move away from testing potentially harmful chemicals on animals.