This is exactly the loophole they will have been looking for and it needs closing right now.
Normally I'd suggest she may have learned from her experiences and mistakes and should be given a fair hearing, but she has still yet to denounce her beliefs and knows how to wire up a suicide bomber's jacket. Not welcome here.
If she is allowed to remain here and not locked up, she will never be able live without fear, no one is going to employ her etc, so however it is managed, we will be paying to protect and support her with our taxes. She has never shown any real remorse for her actions or what she witnessed, she should be left where she is.