Fix ijar failing on empty jars.
Fix ijar failing on empty jars.

The problem happened when all the files are filtered out. In such case a dummy file is created, but it was not accounted for in the size estimation.
Fixes https://github.com/bazelbuild/bazel/issues/10162

Closes #12893.

PiperOrigin-RevId: 353915969

katre/bazel,meteorcloudy/bazel,twitter-forks/bazel,cushon/bazel,katre/bazel,meteorcloudy/bazel,perezd/bazel,bazelbuild/bazel,perezd/bazel,meteorcloudy/bazel,meteorcloudy/bazel,cushon/bazel,perezd/bazel,meteorcloudy/bazel,twitter-forks/bazel,bazelbuild/bazel,bazelbuild/bazel,meteorcloudy/bazel,perezd/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,katre/bazel,cushon/bazel,twitter-forks/bazel,katre/bazel,meteorcloudy/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,bazelbuild/bazel,bazelbuild/bazel,bazelbuild/bazel,katre/bazel,cushon/bazel,cushon/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,perezd/bazel,ButterflyNetwork/bazel,ButterflyNetwork/bazel,cushon/bazel,perezd/bazel,twitter-forks/bazel,perezd/bazel,ButterflyNetwork/bazel,katre/bazel