Supreme Court weighs limits to federal agency powers