The GOP faces a test between reaffirming law-and-order credentials and responding to dissent over immigration enforcement.