chemicals used in mining processing