Write READLINE_LINE to autocomplete on a single completion match and update READLINE_POINT to move cursor to the end.