Solicitor slapped with costs order after withdrawing claim against former employer