IRobot said it plans to lay off 10% of its global workforce, but Amazon says the cuts are unrelated to the acquisition.