The US Senate narrowly blocked an amendment on Wednesday that would have prevented law enforcement from collecting information on Americans' Internet habits without a warrant, as the Senate moved toward a reauthorization of divisive surveillance tools.