When re-writing measures, do not set bar lines as generated.

When measures are re-written, for instance after adding or changing a time signature, the bar lines of the re-written measures are unconditionally marked as generated.

Fix: the bar line status of the bar line of the first measure being re-written is replicated in the newly re-written measures.