Advice from advocate general Gerard Hogan seen as a blow against efforts to end Jewish and Muslim ritual slaughter across the Continent