Legal action over federal gas grant in NT