Market mixed, foreign investors return to net sell