recalculate line total when undoing restock

fixes #44