On Tuesday, however, the president commuted the sentence of Chelsea Manning, who had served six years in jail after being convicted of providing classified documents to the anti-secrecy organization WikiLeaks.