About 2,000 demonstrators were jailed following disputed July vote, in which Maduro declared himself victor.