Revert "Moving rearrangementExists to ReorderLogic since it's only used there"

This reverts commit 6890893a247bf650c14d70f9aafd19d921d0b7fe.

Reason for revert: Many build breaks, like https://android-build.corp.google.com/artifact/submitted/11157014/mokey_go32-trunk_staging-userdebug/latest/view/logs%2Fbuild_error.log , seem related to this.

Change-Id: I049c94fbd1e089c65fd4e0abb4ac2c165f228c92
3 files changed