Interpreting the Mg II h and k Line Profiles of Mira Variables