EU countries overcome key obstacle in yearslong plan to overhaul the bloc's asylum rules