Are you comparing 401(k) loans or a HELOCs but unsure of which is best? Here’s what you need to know.