NSC announces departure of top official as White House denies rumors she wrote ‘A Warning’