The very flexibility that makes a line of credit appealing can also be its Achilles’ heel.