Companies win big at US top court on worker class-action curbs