UK, EU hail ‘new chapter’ with deal to fix Brexit trade spat