The chemicals giant said late Wednesday that it would keep its water-filtration business after all.