Prosecutor gunned down in eastern Afghanistan