Clean component settings while updating an app

The component which was removed in the updated app are still in the
enabled/disabled component list. It needs to be checked if the component
is still existed while updating.

Bug: 310064823
Test: Manually tested with below steps
      1. Install an app
      2. Disable a component
      3. Update the app w/o the component
(cherry picked from https://partner-android-review.googlesource.com/q/commit:fda800fd575226b02c4bd4e8888fffa22b7a8265)
Change-Id: I7f27ebfde553fb4b1d54b815ab78c2b50f7d9763
2 files changed