All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad,
, is His slave and Messenger.
There is nothing in what you mentioned that prevents you from taking the "End of Service Benefits". Therefore, there is no harm in taking this money and benefiting from it.
Allah knows best.