What Schumer is saying is that if Cruz’ amendment had passed, it would have killed the bill. But Cruz’ amendment was effortlessly defeated, and comprehensive amnesty passed in the Senate. The bill subsequently died in the House, as a direct result of Brat defeating Cantor.
That’s not what Schumer says. He says that the bill would be law but for Ted Cruz’s efforts.