Merge with latest JDK9 code from http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/8c8275426a32/src/share/classes/java/math/BigInteger.java