Consult an employment lawyer.
Meaning, if you're doing layoffs, and you thought to yourself, "Let's fire person X! They're about to have a kid and won't even be around for two months. That'd be a waste of money!", you would be breaking the law.
We don't not have enough information to make an educated assessment here.
Hmm, it should be a slam-dunk case, the lawyer just needs to ask "Show the court all the paperwork regarding this 'restructuring'. What structures were before, what are they now, and what's the rationale?".