The decision is in keeping with a longstanding Justice Department policy that bars prosecution of sitting presidents.