By the way, I think you mistyped on the second and third lines:
-1*1²=-1*-1
-1*1²=1
I'm guessing you meant i² and not 1².
Like shacktar said, you can't say "if x² == y², then x == y", only "if x² == y², then |x| == |y|", just like you can't divide by zero or multiply by infinity to "prove" anything.
I mean the difference between minus-plus versus plus-minus. Wikipedia says it doesn't have a special mathematical meaning; it's just a notational convenience to save writing expressions.
For example, a±b∓c=k means that both a+b-c=k and a-b+c=k are valid, and both a+b+c=k and a-b-c=k are invalid.