Justice Department officials diverted hundreds of F.B.I. employees and federal prosecutors from their regular duties to go through the Jeffrey Epstein files at least four times — including once to flag any references to President Trump and other prominent figures.