He was still the same megalomaniac dictator. He deserved what he got.
That said, I basically agree that it was a strategic mistake to get rid of him. But there was a great deal of optimism in those days with the Arab Spring. It seemed like a better future was possible.