Refactored FirmNodeHandler -> ConstantFolder inheriting from GraphOptimizer