Fix handling of line numbers around finally-blocks. (#17737)

3 files changed