The Senate action didn’t come quickly enough to forestall the expiration at midnight of crucial provisions of the USA Patriot Act, including the controversial phone-data collection program.