Synthesis of an adaptive regulator in the problem of invariance of an uncertain discrete linear system