Justices Reject Challenge to N.S.A. Program