Armes Prydein, Hywel Dda, and the reign of Edmund of Wessex