I find it very hard to believe that Danny could get the best asset (#4 pick) in a trade, and not take on the bad contract (Parsons). However, this trade does make some sort of sense to me:
Boston: Memphis' #4 pick, Garrett Temple
Memphis: Zach Randolph, Marcus Morris, Memphis 2019 pick
Sacramento: Chandler Parsons, Sacramento 2019 pick, Boston's #27 pick
Memphis already has a relationship with Big Z, and it allows the team to be in a win now mentality, which it seems like the team desires. Marcus is the type of veteran that winning teams need. Also, Memphis will get back their pick for next year's draft.
If Sacramento does draft Bagley III, then it allows him to start from day one, and the Kings wouldn't have to worry about splitting minutes with Randolph either. Plus if they lose, the Kings will get their own pick in next year's draft too.