Liverpool gave themselves the chance to qualify for the last 32 of the Europa League with a game to spare with victory over Rubin Kazan.