Fix #1171: Split: Sometimes remove leading empty match

The conditions were determined experimentally since the JavaDoc is
note precise enough.
Why the change? I would keep `new js.Array`, here (potentially without length argument, as then it will become simply `[]`).