Codiak Biosciences Inc. has laid off more than one-third of its staff as it puts two programs on pause.