Military court had sentenced Sami Annan to 9 years in prison for saying he would run against President Abdel-Fattah el-Sissi