Quenching of the spin Hall effect in ballistic nanojunctions