Modified the unlink function to delete both medical_record and benefit only if the benefit is in draft state
Closes SOF-29