[fixed 3.2.2] Pattern split command does not deactivate possibly empty automation in splits

If you split a pattern into two, it is possible that one of the patterns will not have any point in an automation lane anymore, for example, if automation only was set in the first half of the original pattern and you split the pattern in the middle.

But then Renoise does not remove the “active” flag of the pattern with the now empty automation. This may lead into script errors like this one: