The bill will go to the Senate for approval, where the Democrat lawmakers said they would block the measure