Non-Abelian generalizations of the Hofstadter model: spin–orbit-coupled butterfly pairs