North Korean troops fighting alongside Russia near the Ukrainian border have temporarily withdrawn following weeks of heavy losses, Kyiv’s military has claimed.