The Prime Minister has said his Government is not “sleepwalking” into potential “industrial devastation” over the closure of the Grangemouth refinery.