Primus ditches in-house legal function