Don't keep a reference to context inside a definition

Once a Schema::Definition instance has been built, the mutable context
instance isn’t needed anymore and can thus be freed.