The primary election defeat of the second-ranking Republican in the House of Representatives by an unheralded economics professor upends the conventional wisdom that the tea party had slid into oblivion.