Gunmen assassinate judge investigating military crimes