Loophole allowing Australians to work for Chinese military should be ‘closed’