Fix rationalise-dot when there's only one word in LBUFFER

Previously the [-1] subscript would be applied on LBUFFER as if it were
a string in the case where you start typing a path.