He relished skewering the U.S. government as he represented unpopular defendants in public corruption and national security cases, like those at Guantánamo.