A New South Wales police officer will undergo surgery for “confronting” facial injuries after being bitten on the face by a dog during an alleged domestic violence incident in Sydney’s south-west.