Allow a shipment to transition to shipped when its order is canceled

Closes #5203