Quasideterministic realization of a universal quantum gate in a single scattering process