Or instead of this law, we make stock buybacks illegal again. Then, companies flush with profit, have to take better care of the employees they bring on.
I don't support that. Stock buybacks are a great thing; they allow companies to return excess cash to investors, helping ensure that capital is allocated efficiency across the whole economy.
Otherwise companies are pressured to spend money just because they happen to have money, even if they don't have anything productive to spend it on. That's not a good thing.