Ore machine emptying stacks  fix

Fixes #4911

* The ore redemption machine will now empty its content in several sheets if it contains more than 50 of a given material instead of one giant sheet (happened when deconstructing or exploding).

* Actually garbage collect processed ore instead of just nulling its loc.