US military publishes manual to fight insurgents