Remove assignments inside expression