Egypt sentences top militant, 36 others, to death