NTPC inks pact to hive off mining biz to its subsidiary