European Parliament agrees research should have exemptions in draft artificial intelligence law