House Minority Leader Nancy Pelosi has agreed to a deal that would place term limits on party leaders, something that would…