Both very good suggestions. Along with your points, making the AI able to form a front behind the main line and strategically withdraw would greatly enhance it. As it is now, the AI will always try to defend every province, no matter how dangerous the situation, no matter how much land there is and how few forces it has to cover them all.