The Senate voted 79 to 18 in a vote that increases defense spending while keeping several Democratic priorities in place.