Legal systems are often too over-protective for the criminals
Sure it's important to have ways to reduce the risk of incorrectly keeping an innocent jailed, but in this case there's no innocent kept jailed. However, I agree the remaining terrorist should be trialed, and an immediate killing could turn him into a "martyr".