Police and protesters clashed in Sydney as Australia grapples with the fallout from the Bondi Beach terrorist attack.