erasure code: remove minimum_to_decode_with_cost from the API

It is not used and has no defined semantic.