Amazon, iRobot agree to terminate pending acquisition