[The] law need not be in every respect logically consistent with its aims to be constitutional. It is enough that there is an evil at hand for correction, and that it might be thought that the particular legislative measure was a rational way to correct it. . . . For protection against abuses by legislatures the people must resort to the polls, not to the courtsId. (internal quotation omitted).