Barr said to have considered resigning over Trump tweets