Dictatorship eras breed terrorism: PM