Powerful new supercomputer to be built in Scotland in government U-turn