Fixes for indel realigner issues

This fixes #423, #424, #425, and #426, two of which were reported by @jstjohn.