Influence of stress path on stress memory and stress fracturing in brittle rocks