Although the space superman scene was a bit over the top, I personally think it would have been very disrespectful and a great injustice to Carrie Fisher if they'd been like "Oh, shit. Carrie died? Now we have a plot hole. Fuck it lets edit her out of all of her scenes in the rest of the movie and pretend they never happened."
This film was going to be the last ever performance from Carrie Fisher. I'm glad they left her in the movie and we got to see Leia's brief reunion with Luke and some of her other nice scenes which all would have been cut if they'd let her die in the opening 30 mins like that.