Ah yes, a minimal compilable example. This is going to be tough, especially as I've just noticed that some _functionally_indistinguishable_code_ a few bars earlier yields this:
which is precisely the behaviour I'm after.
Nevertheless, I'll try to produce a minimal compilable example. It might take a while...