Police defend spray use after Sydney rally