The Influence of Interior Structure and Thermal State on Impact Melt Generation Upon Large Impacts Onto Terrestrial Planets