President urges France ‘not to entrench discrimination against Muslims into laws’