House Speaker Nancy Pelosi had hoped to finally pass by late Thursday a bill that sparked fierce battles between progressives…