House Bill 5 passes after hours of debate