Trump’s influence on GOP under question after Republicans’ disappointing midterms