Threat of rail strike recedes as US Congress intervenes