The Senate held a final vote on whether to approve Robert F. Kennedy Jr. for Health and Human Services secretary after a three-month confirmation fight.