Guard Reece Beekman and several draft picks were also flipped in the deal