The election has been decried as illegitimate and designed to give the unpopular government of Nicolas Maduro powers to rewrite the constitution.