Environmental charges relating to a highway-twinning project on the South Shore have been withdrawn by prosecutors.