Remove trailing whitespace being inserted when editor.autoIndent is true

When `editor.autoIndent` is true, pasting a line would add trailing indentation. This commit removes that indentation.