Former top US lawyer: White House warned over Flynn