In new breakthrough, EU countries agree new rules to manage future migration crises