Electrical discharge machining of ceramic matrix composites with ceramic fiber reinforcements