EU court rejects sexuality tests for gay asylum seekers