Network hierarchy in Kirman's ant model: fund investment can create systemic risk