EE was assisting with maintenance on a pump, he was trying to clean around the pump to make it more accessible for other EE's working on pump. Pushed shovel to dig and when it stopped against surrounding material, his weight shifted against shovel and lost balance. His body weight shifted, felt pull in his leg. Trouble with leg due to prior injury not related to work.