Fix inductor torch.cat edge case for empty tensor (#107193)
Align with eager behavior on this edge case- essentially, the empty
tensor is ignored by the operator.
Fixes #107118
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107193
Approved by: https://github.com/wanchaol, https://github.com/eellison, https://github.com/peterbell10