[FIX] set consumed_for for excess moves

When we produce a product that has `track_production` switched on, and use more raw materials than expected (= he creates an extra move for the excess usage), the extra move won't have `consumed_for`, which triggers an error when marking the move as done.
There are a lot of ifs here.  As the main_production_move should be there, we can just do the write in all cases.