While Attorney General William P. Barr asserted his independence from the White House this week, he has also been quietly intervening in a series of politically charged cases, including against Michael T. Flynn, President Trump’s former national security adviser, people familiar with the matter said on Friday.