His contract pays roughly $20 million if UNC fires him versus $1 million if he walks, sharpening questions about the program’s next move.