WASHINGTON—A half-dozen of the most senior officials at the Federal Bureau of Investigation gathered at headquarters last week to hear an urgent directive from the Trump administration.