U.S. Supreme Court decision threatens rail-trails; could cost federal government millions