behind them lay the magic isles where three of their number slept upon dim strands in deadly sleep , and their heads were pillowed on white sand and they were clad in foam , wrapped about in the agelong spells of eglavain .