Attorney General Bill Barr told associates of the president that he is considering resigning if Donald Trump doesn’t stop tweeting about the Justice Department criminal cases.