The Municipal Railway stands to reap a windfall that could total more than $500 million for its planned Central Subway, thanks to Rep. Nancy Pelosi, who got a special provision for San Francisco inserted into the $820 billion appropriations bill the House passed this week.