He wasn’t in violation though, which you would know if you weren’t cherry picking from the article. Paraphrasing from it: ‘…but the combination of cases allowed him to stay…his visa was approved later’
If he was illegally at any point his visa wouldn’t be approved.
That's not legally substantiated in the article. It's an opinion of the author that one rule like pending status, excuses violation of another rule, expired status.
> If he was illegally at any point his visa wouldn’t be approved.
This isn't true. Residing illegally doesn't by itself preclude one from obtaining a visa, or even residency and citizenship, exactly for cases like this one, and many other cases.
There are humans (for now) reviewing these cases individually and deciding where exceptions are justified, like they did here. Hence the long processing times.