Monte Carlo study of phase transitions out of symmetry-enriched topological phases of bosons in two dimensions