Automatically deref step results.

This allows using a pipeline-fn as a step.
Remove the redundant :sync option to pipeline.