A female PSNI officer was left bleeding from facial injuries and had a “clump of hair” pulled out when she arrested an alleged shoplifter, a court has heard.