Insights into Terrestrial Planet Compositions and Geophysics from Observations of Magma Worlds