Convergent evolution of the seed shattering trait