Republican leaders are projecting confidence that they will keep control of the U.S.