ARLINGTON, Va. (AP) — A deal reached Thursday between freight rail companies and their workers has ensured that commuter rail systems that also would have been affected can serve customers unimpeded.