lib: internal: nativeresolver: impl: __propose_solution: refactoring: avoided 'FORIT' in the elements loop
lib: internal: nativeresolver: impl: __propose_solution: refactoring: avoided 'FORIT' in rest of loops
lib: internal: nativeresolver: impl: fixed determining autostatus for newly installed packages

Fixes a regression from the commit 'cf672416'.