The obvious choice for the party was to expand its appeal beyond white voters. That diagnosis was as obvious as telling a patient with lung cancer to quit smoking. But at the same time, Republicans were taking steps to change the electoral math by making it harder for nonwhites to vote.