According to the Mass Effect Wiki it is possible to keep the Loyalty of both Miranda and Jack "if your Paragon or Renegade scores are high enough, you can choose an option favoring neither person and keep the loyalty of both."
How can I determine if my Paragon/Renegade score is sufficient to keep the Loyalty of both characters?