To the original question:
The answer is, "As opposed to what?"
If otherwise you're just going to fire him, and end up liable for paying him next year for nothing in return, then absolutely, get what you can for his contract, while you can.
I'm assuming Ozzie, since he lives near the Marlins' home area, would happily have accepted the deal. Win/win.
But now it appears it didn't happen and he's just being let go. So, they get nothing for him at all. They just have to hope he gets a job so they don't have to pick up his whole paycheck for next year. (Though those contracts often have liquidated amounts specified for buyouts.)