Top officials have been told to retire or be fired in the coming days, fueling fear within an agency that has been a target of President Trump and Kash Patel, his nominee to be F.B.I. director.