Solving Einstein’s equation numerically on manifolds with nonorientable spatial slices