The justice system is increasingly turning to complicated computer algorithms to help make decisions about bail, sentencing and parole. But many question whether paying private software companies to use secret algorithms in criminal justice is in the public’s best interest.