The former head of state was accused of attempting a coup and staging an armed insurrection following his defeat in the 2022 election