Supreme Court to hear challenge of law that curbs spy watchdog members