A gradient approach for the macroscopic modeling of superelasticity in softening shape memory alloys