Honestly, I don't even know that the Senators got a worse return for Hoffman than the Sharks did. The Sharks only got a 2019 2nd, a 2018 4th and a 2018 5th for Hoffman and a 2018 7th, that's honestly not that impressive. I don't know that I'd say that is a better return than Boedker, you can probably get that for Boedker as a rental.
I'm sure if SJ could have gotten that for Boedker without taking salary back, they would have done so. I don't think there would be too many teams lining up to give them a 2nd, 4th and 5th for a guy who scored 25g/63pts over his last 2 seasons.
I think the bigger surprise is that SJ managed to offload Hoffman without taking salary back, while Ottawa and their cheap as f*** owner, took back a 4m cap hit to move him.