Sunday’s attack challenged the idea of Australia as a model for preventing mass shootings