Arizona Republican Gov. Jan Brewer has ridden a wave of support for the state’s controversial illegal immigration law to defeat her Democratic challenger.