The chiral transition in an SU(2) gauge-Higgs-fermion theory with Yukawa couplings