Student loans are written off when you die, so a partner or family won’t be expected to pay them off.
If someone has died, you can call the Student Loans Company (SLC) to let them know.