Mathematical model for simultaneous growth of gas and solid phases in gas-eutectic reaction