They didn't throw it out. They defined that one was the operative and one was the prefatory. That is pretty standard constitutional and contract law. It is not invalidating anything, just giving the appropriate weight and defininition for settled law, which is what this becomes.
Mick