make some use of BAM index

What's there now uses the index, but extracts everything 'in range',
which is a lot more than what is asked for.  Filtering is still missing.