UAE oil company’s lengthy courtship and sweetened €14.4bn bid key to overcoming German chemical group’s reluctance