Beam loss due to foil scattering in the SNS accumulator ring