Italy’s president commuted part of the sentence of a former U.S. Central Intelligence Agency officer, allowing her to avoid prison for her role in a controversial U.S. program that involved kidnapping suspected terrorists and flying them to other countries for interrogation.