Investors should not be tempted back into the stock market until certain criteria are met, says BofA.