Premiers cut deal to save Atlantic Lottery