Hedge funds have long gotten bad press. Criticized for short selling, corporate agitation or destructive greed, their contribution to economic activity isn’t always clear.