I was actually teaching a case study of them on the morning of 9/11/01.
There was no mention of elections in any of the deliberations that led up to the strikes. As I said above, there was an extensive interagency process that preceded them.
For the record, I think it was stupid to attack the building in Somalia, but justified to try to kill bin Laden.