What distinct similarity did the British Empire share with the Qing Dynasty during their respective expansions?