Many people assume they'll inherit a loved one's debt, but the rules are far more nuanced than you may realize.