EU lawmakers have reached a provisional agreement on legislation tied to the EU–US trade deal, the Cyprus EU Council Presidency says.