Anti-phase domains and magnetism in epitaxial magnetite layers