Women solicitors reach 40 per cent of the UK’s legal population