Verify old BIN value of reads during 'samtools index'.

This simple check catches invalid BIN values in reads which can cause
subtle bugs due to position-based retrieval missing data, and simple
out of bounds errors if a BIN is used beyond the length of the reference.