Do not generate empty dex in multidex.

This was possible when the first class considered for adding in a dex was too
big to be sure it will fit. Now DX will try to add the class in the current dex
and crash if the class causes one index to overflow.

Change-Id: Ia1f8f733ee49e24bbb42db335ac9080312c1907a
2 files changed