Minimize classpath pants passes to java for running tests