The Marlins did the same thing with Carlis Delgado, but his expensive years were $12-15mill.
If the plan was to dump him before the expensive years, it was a serious gamble. I mean, what if no one wanted him at that price? Or if an injury hurts him?
If they didn’t want to pay him, wouldn’t it have made sense to trade him when he was still cheap?