Chief Justice Roberts’s language may create confusion the next time a state has a contested presidential election.