Right. He went to the Libertarian Party national convention and promised to pardon him, and this is him making good on that promise. It doesn’t cost him anything and it potentially gets him a little more support from the libertarian-leaning people in Congress.
I highly doubt the two are related. He could just leave the guy in prison and still get the money.