Agreement reached to end protest at Brega port