In recent years, investors have started buying shares in other people’s litigation proceedings. Are they warping the legal system in the process?