Multiple discoveries, inevitability, and scientific realism