The sentence is lower than first proposed, but whether or not that’s Trump’s doing, his efforts to help his ally shocked his critics