Do not declare output if no output is recorded.
requested to merge goetz/athena:TrkSlimmer_master_do_not_declare_output_if_no_output_is_written into master
The slimmer does not record output if it does not apply a pt cut and only sets persistification hints. Under these conditions the write handle should not be used.
This fixes a problem of multiple algorithms declaring the same output.