Judges reverse decision that found legislation to be unconstitutional, saying that requiring government contractors to pledge to avoid boycotting Jewish state was not in violation of First Amendment