Given `asteroids` (nonzero integers) moving along a row, each value's magnitude is its size and its sign its direction (positive = right, negative = left). Two asteroids moving toward each other collide; the smaller explodes, or both if equal sizes. Same-direction asteroids never meet. Return the state after all collisions.