SC directs NAB, govt to sort out matter