No, it served a purpose in the story, and one that will likely be unveiled further on in the sequel trilogy. Part of it is tied to its impact upon Kylo Ren, and the results of which we have not seen.
We know that is not true. The development of the death in TFA developed when Lucas was working on Episode 7 and that seems to be working with the movie as a standalone ala TPM or an episode of TCW. The initial person slated to die was Luke with shades of Ben (and Vader in ANH) and somehow it shifted to Han after Kasdan/Abrams took over. If anything the death of Han was less motivated by the necessity of the story and more by the bts politics in TFA between the various parties such as Kasdan/Ford who have a major hard-on for killing Han since ROTJ and of course Disney needing to sell tickets.