Millions of commuters in Sydney have received some welcome news after months of travel chaos on the rail network.