The agreement also needs approval from the EU’s legislature, which is not expected to take up the deal for weeks.