[nodes] Drop VariableRef.__cmp__ implementation (closes #1190458) [applied]