bugfix: maxlen = 0 now means don't trim sentences, and ambiguous lattices are never pruned
fixes #130