Remove a transform (created with chan push or zlib push) from a channel. If there is no transform attached, closes the channel instead.