brush masks: filter out more redundant points

this reduces the complexity (number of nodes) of newly generated brush strokes. should help to
keep size of xmp tags under control. please complain if brush strokes get too coarse.
please complain
Merge branch 'master' of ssh://github.com/darktable-org/darktable