Sydney law firm set to lose managing partner