Aristocrat and Playtech boards agree terms of $2.9bn merger