Jamming by shear in a dilating granular system