Fix for adding new (default) enrol instance

add_default_instance returns the ID, not an object - so we need to feed its return into $instance->id rather than feeding it directly into $instance.