Cleaned up finding primer indexes

The design for both find_primer_forward_index_in_segment and
find_primer_backward_index_in_segment should be correct now.