The Senate has confirmed three top military officers, including the first female member of the Joint Chiefs of Staff