Do you really think no superfluous law is ever passed...? The books are full of them.
> such a law would’ve be repealed the moment republicans regain control of the congress
Maybe, or maybe it would have increased Democratic majorities and forced Republicans to face a politically dangerous repeal or even a major policy switch.
Politicians are ready to go with the flow... see for example gay marriage in the UK, which was cautiously introduced by Labour as a separate formulation and then brought into full existence, with great fanfare, by a Conservative Party that had been staunchly against it for decades prior.