Retired judge ends life