Did you read the bill? It's several hundred pages. I haven't read all of it, but I know Trump did not break the law or the lawyers from the Democrats and immigration groups would be all over him.
The fact that they are protesting and not filing a lawsuit tells me he did not break the law.