A biotech once led by a longtime Vertex Pharmaceuticals executive is making layoffs and moving headquarters.