Simply put, Trump was threatened that if he pardons Assange, senate republicans (the establishment) would vote to convict.
I wish he had the courage to call their bluff, because them convicting Trump would fragment the GOP to an extent that is irreversible, IMO. Most people who aren't Trump supporters don't appreciate the extent to which Trump's base is not overlapping with the establishment GOP base.