A proposed class action that claimed the Union Pacific Railroad Company illegally asked potential employees about their genetic and families’ medical histories has been dismissed.