Bose-Fermi Anderson model with SU(2) symmetry: Continuous-time quantum Monte Carlo study