Inland Rail agreement with NSW paves way for construction