Ruling party candidate retains ‘slight edge’ ahead of this weekend’s vote thanks in part to a powerful electoral machine