Mechanic was preparing to dismount the tracks of a CAT 336 excavator. As EE was dismounting the grease line hung on the track. Mechanic attempted to shake the hose loose and kick it free; ultimately losing balance and making contact with the ground below with the right shoulder.