78-year-old extends 27-year rule in vote boycotted by two main opposition parties over impartiality concerns