Mr. Hegseth’s stumbles started soon after he was sworn in to lead the Pentagon on Jan. 25.