设集合A={x|x2+4x=0},B={x|x2+2(a+1)x+a2-1=0},