Emirati and Malaysian officials said Monday they reached a deal to resolve a legal dispute over the indebted and troubled Malaysian investment fund 1MDB, with the United Arab Emirates set to receive $1.2 billion over this year.