then the lombards allied themselves with the avars