Google lays off hundreds and moves some 'core' jobs to out of US