The AP headline misrepresents what happened.
The Supreme Court did not reject the VA congressional map as that wasn't before them. It also did not reject a bid to restore congressional map favoring Democrats. Again, that wasn't before them.
And it really wouldn't have been before them since that's not how the Supreme Court works.
The SC declined to get involved by temporarily pausing the state court's ruling. That's all.