John Swinney is “actively pursuing an option” to keep the Grangemouth oil refinery open - amid fears the closure could scupper a just transition for workers and long-delayed carbon carbon and storage plans.