Core Scientific emerges from bankruptcy, set to resume Nasdaq trading