Nancy Pelosi may be helping Republicans and hurting her own party