2582. Recovery or repair is presumed to be too costly where the cost would exceed the value of the insured property at the time the expense was incurred or where the cost of repairing the damage and forwarding the goods to their destination would exceed their value on arrival or where the cost of repairing the damage to the ship would exceed the value of the ship when repaired.