v.24.7Bug Fix

Fix Config Merging for from_env with Replace Overrides

Fix config merging for from_env with replace overrides. #66034 (Azat Khuzhin).