You typically do that when you know you want to draft X position in the 1st round, you know who the best is at that position, and know that drafting them at Y is way too high, so you trade down several spots. Trading down a single spot to save money? Barely any savings there.
I'm guessing they at least got another pick out of the deal, probably even tacked on the remainder of Zach's salary.