Sino-Russian gas deal approved at 11th hour