The European Parliament has narrowly opposed proposals to allow EU member states to reduce value added tax on alcohol served in restaurants.