In 1862, Congress passed the Pacific Railway Act to allow for construction of the transcontinental railroad. What was the impact of this legislation?