PF accumulation would go to the nominee. In case of no nominee due to any reason, the claim would vest with the legal heirs.
Compassionate appointment can be claimed by the spouse or children only. In the given case, as admitted, the first wife is no more and the children born out of her are settled in life. So, in fact, the surviving second wife and her minor daughter have to subsist with the family pension of the deceased. Automatically, the second wife or her minor daughter on attaining majority will have a stronger stake for any job on the ground of compassion.
For more details, the Central or concerned State Government's Rules may please be referred to.
As far as the job succession and pension are concerned the likelihood of the nominee getting the benefits are very strong whereas anything to do with properties [moveable and immoveable] of the deceased etc both the wives/children will get the share unless otherwise specifically stated by the deceased. This is because the second marriage is valid and so also the nomination.
Thanks and Regards
The amount in the PF account belongs to all the legal heirs. The nominee receives the amount only as a trustee on behalf of the legal heirs.
As regards to gratuity, the rules themselves provide definition of 'family' who are entitled.