Wouldn't work as he would need to be on that team's roster prior to the trade deadline for them to be able to buy him out after Marleau's bonuses are paid July 1st
Buyouts Outside of the Regular Period
Clubs whom have 1 or more arbitration filings may be permitted to perform a buyout outside of the regular window. This gives teams another opportunity to become cap compliant following an arbitration case.
As explained in Section 13(c)ii of the Standard Player Contract (SPC) [Exhibit 1 of the CBA], clubs are permitted to perform a buyout outside the regular period during the 48 hour period beginning on the third day after the final of a) settlement of the Club's final arbitration case. b) receipt of the Club's last arbitration award. A buyout can only be performed on a player who was on the clubs reserve list at 3:00pm on the most recent trade deadline, and for the 2018 off-season, must have a cap hit of at least $3,318,024.