By all means, the Red Sox have succeeded with the players they received, but there is still plenty of lost value. Vmart gave the Red Sox roughly 4-5 WAR, whereas Masterson has produced about 12 WAR. But then again, VMart brought in Matt Barnes and Henry Owens, so hard to argue with that trade.
The Beckett trade is a tossup. Championships are the end goal, but Beckett cost significant prospects for mostly mixed results, and organizational shame. Hanley and Sanchez have been combining for 10 WAR a year lately. I would still make the trade, but at that cost, they might as well have traded for Halladay or Felix.