The job cuts are part of CEO Brian Niccol’s plans to streamline operations and create a more nimble workforce.