Characterizing a Diversity of Exoplanetary Systems with HabEx