Correct count_on_hand for stock_items representing assemblies:

The count_on_hand should be a computed value based on the least available part. This was the behaviour of the previous version of the extension and this commit brings that behaviour in line with the new split shipments API (where count_on_hand resides on stock_item).