Russia is devising urgent measures to control its population of brown bears after at least 22 people killed in attacks.