[pci]add prune in treepredict.py(ch07)