Delete worse candidates in predictive text code

In the predictive text code, delete the candidate nodes that are worse than others if we already have the required number of candidates. See the article http://www.strchr.com/dawg_predictive