Charmed meson rescattering in the reaction ¯ pd → ¯ DDN