how to treat mining waste in water