The deal will secure Marriott's position as the world's largest hotelier.