A market in full panic mode is setting up a buying opportunity, Bank of America survey shows