A former military colonel with a Somali security force dubbed the “Gestapo of Somalia” by its critics was responsible for the torture of a human rights advocate in the 1980s, a federal judge ruled Tuesday in a decision that opens the door for a hearing on potential financial damages.