sequences.extras: change filter-index to use length of seq not exemplar.
sequences.extras: similarly improve map-filter and filter-map.