Judge says too many poor people kept in jail awaiting trial