That's not the same at all. The president can set the overall direction of the service branches. In theory if he simply changed the respective code within the UCMJ so that no other soldier would ever be liable for the same transgressions, then he could avoid criticisms. In this instance, he made an exception for one soldier.
You mean like Obama did for the Manning thing?