BRUSSELS — The European Union’s top court ruled Thursday that Hungary flouted the bloc’s laws and infringed on migrants’ rights by forcing asylum seekers inside the country or at its borders to start the process at its embassies in Serbia and Ukraine. Hungary’s anti-immigrant government has taken a hardline on people entering the country since well over one million people …