'Appalling!': Historians torch Supreme Court's handling of Trump ballot case