Numerical simulation of vapor shielding and range shortening for ions impinging on a divertor during plasma disruptions