Checkout state was not being reset when a line item was deleted from the order

Checkout state should be reset when a line item is deleted, just like it is when a line item is added or updated.