Chemical Reactions: construct modified atoms set + small refactoring

[#58090710]

Modified atoms set will be used during angular bonds construction.