In Secret, Court Vastly Broadens Powers of N.S.A.