Oil refinery in Scotland set to close