It's worth remembering we had to flip Jack for essentially nothing in order to create the cap slot to hold Miller's contract temporarily- it was a deal done in three parts.
Trading Jack for Lopez (and Warrick to grease the wheels for Phoenix) was the essence of the dealing, it was just convoluted.