Scientists solve 3,000-year-old pharaonic whodunit