The Senate confirmed Daniel Driscoll, a third-generation soldier and businessman who served in the Iraq War, to lead the largest military branch as Army secretary.