The distinguishing index of connected graphs without pendant edges