Hegseth, who has been accused of a war crime, previously suggested military officers should ignore illegal orders