Tens of thousands in Gaza line up for Israeli work permits