I think McLeod will just take his tender, but even if he does, that doesn't leave a lot of room for Yamamoto.
No idea what EDM is going to do. Probably work really hard to find a taker for Barrie, but how many teams want a guy like him? There is a lot of salary left, he does bring offense but not a ton (and it will go down once he is off of that McDavid-Draisaitl PP), and he is a total liability defensively. A team like MTL could probably use him as a stop gap, but they don't have the cap space. CHI could as well, and that is probably EDM's best bet for a clean dump right now.
If EDM dumps Barrie, they could have a lot of interest in Holl to replace him. He is a better fit for their needs and he is cheap enough to let them sign their remaining RFA's. If they give us their 2nd this year in return (at least), I can see the Leafs moving him there.
That leaves around 2.15 mill to sign Sandin and a new #7, and the Leafs can still explore the market for Kerfoot but they are not forced to trade him. If Sandin wants more than Liljegren, then he can continue to sit.