When deciding whether to let people await trial at home or in jail, US judges can use a risk score algorithm. But it often makes harsher recommendations than humans do