Credit is a safety net, and there are times when taking actions that may ding your score are the best thing for your overall finances