Black-majority town in Tennessee halts state takeover in settlement deal