Twitter plans to cut global workforce by 9%