Yemen's new leaders took a ceremonial oath of office on Tuesday, completing a major shake-up aimed at ending seven years of conflict with the Houthi movement