ShippingMethod#shipments should look up shipments through linked shipping rates

It used to be that shipments linked directly to shipping methods, but now the relationship is done through shipping rates.

Fixes #4492