Fix #1171: Split: Sometimes remove leading empty match

The conditions were determined experimentally since the JavaDoc is
note precise enough.
This is a JDK8 bug: https://bugs.openjdk.java.net/browse/JDK-8043324