fix for `syntax-local-value/immediate'

The source locaiton on the second result was mangled.

Closes PR 12477