Northern Ireland to get new Brexit trade rules in deal to restore power sharing