But court allows former head of state, 66, to serve out his time under house arrest; sentence can be appealed; charges relate to his unsuccessful 2012 reelection attempt