Police say they shot and killed an armed man near where crowds had gathered for the US Open of Surfing event