I don’t have a problem with having the H-1B program, but I would expect a proportionate number of visa holders to be among the layoffs.
If their employer's stated reasons for bringing H1Bs in in the first place are indeed valid, there can be no excuse for laying off every one of the H1B's before a single citizen is laid off.