Andre Ayew scored twice as the Swans beat Jurgen Klopp's 10-man Reds to secure their Premier League safety