Bar lines: property defaults for span parameters (staves, from, to) depend on staff span and number of lines.
Align with recent commits.

It also fixes #20424.
Merge pull request #272 from mgavioli/BARLINE_property_default

Bar lines: property defaults