One room at Sandringham House in Norfolk was said to be so haunted that members of staff refused to enter but the late Queen came up with a clever and surprising solution to the problem