O’Malley, who ran unsuccessfully for the Democratic presidential nomination in 2016, was approved by a vote of 50 to 11. A handful of Republicans joined Democrats in voting for O’Malley as the agency’s commissioner after he earned a reputation as a technocrat, in part, by focusing on measuring government performance.