process of seperating minerals from ore