The Trump loyalist inherits an FBI gripped by turmoil