Democrats led by Chuck Schumer paved the way for passage of the Republican measure