The number of Civil Service staff being dismissed has reached a five-year high, according to new figures.