The king desires to please God with the money they bring back.
So buy in full...
The king authorizes the purchase of animals and food for sacrifices to God.
...please your God with the rest...
The King grants Ezra latitude use the money as he sees fit to please God.