Trump spins political victory out of Supreme Court defeat