The question of whether the initial decision to invade Afghanistan was justifiable is completely distinct from whether it should have been made and, even more so, whether the occupation and war should continue.
The subject of the first part of that sentence was never open to debate in this country. The justifiability - we were attacked! - trumped any discussion of whether or not it was sensible. And now we stay, for ends even its supporters cannot articulate.