Barr: courts rulings hamper Trump's agenda