NSW to effectively ban protests for up to three months as premier links Gaza rallies to Bondi terror attack