pattern_bayes_gen.sh: Prune patterns with just a single occurence