I'm not so sure this is such a horrible move for the Marlins. Buehrle and arguably Reyes were overpaid. They get to dump those contracts before they become truly burdensome, and get prospects in return.
Ok but they're contracts they themselves created less than a year ago. No matter how you cut it, it's either a bad move now or then or a shameless plug for a new stadium. (Probably all three).