The president has been using his clemency powers to send political messages, including undermining a bedrock environmental law disdained by Republicans.