I never found him to be an insightful commentator on NPR, and NPR was probably looking for a way to end his contract.
But it was handled in perhaps the worst possible way.
Two best things I have read on the incident:
1. James Fallows at The Atlantic: Why NPR Matters
2. Glenn Greenwald at Salon: The real danger from NPR's firing of Juan Williams