Court Ruling Helps Energy Future's Plan to Emerge from Bankruptcy