Astros string together wild walk-off rally with bizarre finish