H1b holder has 10 days to pack and leave
after their status expired. If the ending time on the I-94 is later than the stopping pay date, I do not think you will have any problem with such a brief gap in the future. Keep all your medical records in case.