The move comes after a woman’s allegations of sexual assault went viral on Chinese social media.