gh-110543: Fix CodeType.replace in presence of comprehensions (#110586)

3 files changed