I agree with you on the last half of your statement but I don't know what Palin could have done to prevent the first half other than sending in troops or leaving NATO.
She would have worked it before it happened. There was a strong political argument that could be made for retaining kadaffy and Sarah would have used it. We fought and defeated Iraq and bore the brunt in Afghanistan and we could have paid back some NATO allies that stabbed us in the back when we needed them. There are always alternate paths. We could have just bought hussein for instance... used him as a block on Iran... doable and much cheaper in life and treasure.
LLS