What law?
The law you linked is 100 years old, and was superseded 50 years ago. The doctrine you linked explains exactly how it does not apply well to digital works, because you're making a copy (which first sale doctrine does not allow you to do) when you sell it, and also because you weren't sold the work in the first place, you were licensed it's use, and you can't sell or transfer licenses under first sale doctrine.
I agree this is counter to the spirit of the first sale doctrine, but that means laws need to be updated, not that a new law was created to deny you rights.