Senate blocks gun-control legislation