James B. Comey’s lawyers are expected to argue that the Justice Department effectively allowed itself to be taken captive by the president’s desire for political revenge.