An irritated president clearly felt betrayed by the Supreme Court justices he appointed in his first term. But they have shown the system still works as intended.