Court reinstates counterclaim in solicitor negligence case