Bankruptcy could shield many retirement assets, but the level of protection it offers depends on the account.