Shadow of Trump looms large over Republican party's midterm showing