France’s crisis with the Muslim world was entirely avoidable