US military scrambling to deal with 'terror' suspects after high court