Australia plans 'indefinite detention' of terror convicts