The nightmare scenario for the next Republican speaker isn’t losing the midterms — it’s barely winning them