If he is traded today we'd immediately would get hit by 24m dead money because of his prorated bonuses and restructures. If he is traded after June 1st you could spread it into two hits of about 12m for 2019 and 2020. This loses us about 11m of cap space (or gives us 1m if the trade happens after June 1st).
And if he is traded next year we would gain 3m in cap space but still incur about 15.3m of dead money. From what I have read there is no way to use a June 1 designation for cuts (or take advantage of it in trades) in the final CBA year. So you would not be able to spread this around.