3 countries breached EU law over asylum-seekers