Senate passes reauthorization of a key U.S. surveillance program after midnight deadline