Xfrout3 cleanup: remove now-unused defs for xfrout

diff is large, but this is essentially a straightforward cleanup. I confirmed build from the scratch and unit/lettuce tests were all okay.

The only non-trivial (still pretty straightforward) change is commit 9d334e2.  If something is to be reviewed explicitly, that's the one.