I had to deal with a couple of them in my Lusotannan campaign. Solution was to set my light and medium spearmen in a straight line with "Defend" on and hide slingers and missile troops in the nearby trees.

Of course, it makes it easier when you have 6 units of Balearic slingers, but only a few should do.