Detect Encryption in Progress

If we're partially through setting up metadata encryption, failures
leave the partition in a known bad state, and we can avoid an eventual
boot into recovery by taking the wipe path.

Change-Id: Id7a1c7d84c913469df542df7311a648c75d62f59
Bug: 351704691
Test: Inserted debug code to reboot during initial encryption setup
      Verified device boots successfully on second attempt
1 file changed