The justices have indicated that they will try to find a way to protect the independence of the Fed, even as they let presidents remove leaders of other agencies.