Commerce ministry given power to grant licences for defence invest