(maint) Fix usage of remove_instance_variable for 1.8.7.

The previous commit used remove_instance_variable for fixing a spec
ordering issue.  This method is private on 1.8.7.

The fix is to instead just set the variable to nil, as it has the same
effect in this case.