Doesn't this flower look like a tiny purple sea urchin?
Here's a zoomed-out view:
This is an arrow-grass (Triglochin sp.), a species that grows in our local salt marshes. I didn't have much time, and I was so focused on the flowers that I didn't confirm which species of arrow-grass, so I'll have to double-check and report back.