Japanese premier resolves to end hostility with Russia