'Learn to love the gridlock,' McCarthy gets U.S. House speakership