Rework line end concatenation

Trying to close an old issue, #1054. This is based on @yujinakayama's solution with added handling of operators on the second argument according to @bbatsov's suggestion. Then there were a couple more operators to take care of, and also interpolated strings (possibly on multiple levels) in that context.