‘Unpredictable’ election in Africa’s largest economy is set to resonate around the world