Merge "staged sessions: clear INSTALL_ALLOW_DOWNGRADE if pre-reboot session did not have it"