Jordan knocked out of FIFA World Cup as resilient Algeria stage comeback victory