Ah, someone's come up with an answer. OH said berberis sawfly as well, and unfortunately the only way to get rid of them is by chemical spray, such as pyrethrum, but obviously it's a bit too late to save your shrub. Now that their food supply has gone, they'll die anyway.