[orchestrator] fix nodes selection in case if pending_roles is not empty
[tests] fix integration test
Merge pull request #1506 from Mirantis/fix-serialization

Fix nodes selection in case if pending_roles is not empty