Solicitor wins unfair dismissal and indirect sex discrimination claims