Chavez held a narrow lead in the polls as he bids to extend his term in power