A pilot had to divert a red-eye flight because a passenger tried -- twice -- to light a cigarette