I don't see a team eating that cap hit even for just one year for just a 2nd round pick going their way. Every time someone has made a deal like this either a young player was involved or a 1st round pick was involved. It cost the Islanders a 1st, a 2nd, and a meh prospect to have Vegas eat the one year left on Mikhail Grabovski's contract at 5 mil. I don't think the 150k difference between his and Paul Martin's cap hit will cost a 1st round pick less than that.
I could see them doing that if they really feel like they have a shot at Tavares. If they don't then they probably just buy out Martin.