Your friend is entitled for the end of service benefit and approaching the labor court will solve this matter in a snap. Because this is a clear cut denial of justified entitlement. However a release is something that is not governed by law and is at the sole discretion of the sponsor even if he was hired locally.