EU lawmakers clear post-Brexit trade deal with Britain