The Supreme Court delivered a setback to President Donald Trump, rejecting his attempt to fire Federal Reserve board member Lisa Cook, while in a separate case giving him a freer hand to exert control over other hitherto independent federal agencies.