fixed a rare off-by-one error in --realign
fixed autodetection of isSortedByName to exclude single ended reads like PacBio