Fix resetting of txstatus flags.

The txstatus ts_flags field is not reset, while the memory is reused.  This makes flags stay there once they are set and hence break the working of anything that's based on them in the returned TX status.