By a 74-25 vote, lawmakers approve a former director of national intelligence accused of politicizing intelligence assessments.