While soldiers are legally permitted to detain Israeli suspects, for years the army preferred it to be a matter for police, whose forces are stretched thin in West Bank