WASHINGTON — Norfolk Southern Railway Co. has agreed to pay a $4 million penalty to resolve violations of the Clean Water Act (CWA) and hazardous materials laws for a 2005 chlorine spill in Graniteville, S.C., the Justice Department and U.S. Environmental Protection Agency (EPA) announced.