I hope you have your legions on guard mode and fire at will, they won't kill many gestatae themselves but they will die slower allowing you to defeat supporting units and get slingers etc round the back, to kill them with missles or repeated hit and run cavalry charges.