New York to vote on length of state judicial terms, Brooklyn weighs in