As an example, banks are required to report all deposits of $20,000. It's a right to deposit $19,999 into a bank account, nothing wrong there. But to deposit $19,999 five times in a row, rather than than $100,000 all at once? That's structuring, and it's illegal.
I'm not aware of a general "law against circumventing laws" but there are certainly specific ones banning classes of behavior that exist to avoid other regulations.