Effects of two-phase flow in a model for nitramine deflagration