Mark Allen crashed out of the Northern Ireland Open at the last-32 stage as the world No.3 was upset by Oliver Lines in a dramatic seven-frame battle.