He has linked these attacks to the instability caused by previous PMs who thought their crusades, unlike every previous one, would indeed "fix" the region.
To appropriate the logic of your favoured PM candidate, no intervention is better than bad intervention, and given recent history, almost every intervention in that region has gone wrong. Which was precisely the point you dodged with your comment- this is not a problem a British PM can fix, it is a Libyan problem worsened by British (and other) intervention.
But your last line is correct, and is an improvement over people with grand plans, that look at best stupid, at worst catastrophic in hindsight (and the same to anyone with foresight).