would it not be easier to set this up as a discount if the criteria are met. so that the level of discount matches the shipping cost.
in your cart display, the shipping would still be shown , but the 'free shipping' discount would also be shown, with the cart subtotal calculated correctly