The Republican-run Senate on Friday advances an annual defense bill, with the move relieving some concerns that a partial federal government shutdown could start at midnight.