Only put cursor at EOL when doing triggered indentation.  (Otherwise use previous behaviour.)
Slight refactor of Buffer#nearest_basis_row_from .