Two fixes to stand-alone FOF code
Fixes #816 (closed).
- A dangling pointer in the non-cosmo case was freed leading to crashes with some GCCs.
- The recent changes to the code with the
to_write
array meant that the hydro arrays were not written any more in the FOF snapshot since the policies were not set.