how is magnetic separation used in mining industry