Who was the second ruler to asset the Umayyads' right to rule on dynastic principal