Thanks, Paco, I'd forgotten about that thread!
Since we're discussing passive constructions ('who was given the book?') rather than active constructions ('to whom did you give the book?'), it might be easier to take an example whose 'active version' doesn't contain an indirect object:
1....