Understanding Synthetic Context Extension via Retrieval Heads