[subset] Fix pruning of empty rulesets in (Chain)ContextFormat1
[subset] Fix pruning of empty rulesets in (Chain)ContextFormat1

Similar to 98b60757ab9bb0aaa3c1f136e5a837a1b73d22ed and the
recent commits for Format2.

fonttools/fonttools,googlefonts/fonttools