Two Alaska seafood shipping companies agreed to pay a $9.5 million penalty to the federal government for violations related to their use of a tiny rail track in Canada that the federal government said was an illegal attempt to avoid requirements of the U.S. Jones Act.