Islam Slimani's second-half header earned Algeria a 1-1 draw with Russia that sent them into the Round of 16 at the expense of their opponents.