Melker, Dillon, Braun and Dell should all be traded. That frees up more than enough room to keep Karlsson, Pavelski, Donskoi and the RFAs.
They'd need to find suitable replacements for Dillon and Braun and I don't see it in the system right now. With what the team has right now, I'm pretty sure only one of Pavelski or Donskoi will be staying if Karlsson re-signs.