No, you should not remove AndroidRuntime.jar, your build will fail.
It's the opposite of what Pavi has written, classes.jar contains dex bytecode while AndroidRuntime.jar contains raw java classes.
If you want to optimize extension size, (by removing companion compatibility), then you should be looking to modify the classes.jar file and not the AndroidRuntime.jar.