Trots dubbla röda kort såg Liverpool in i det sista ut att få med sig poäng från mötet med Tottenham.