Lawmakers vote to reauthorize US spying law that critics say expands government surveillance