separation of ore from other rock