‘She was Trump’s biggest problem’: Pelosi’s exit marks end of an era