All nine justices ruled that the plaintiff should not be allowed to pursue retaliation claims