Yes, because there are often opportunities to resolve breaches of warranty that are not usually available under an indemnity.
Breach of warranty
If there is a breach of a warranty then there is usually another provision in the contract for you to fix the problem in a specified period.
Dispute resolution procedure
There may also be terms setting out a dispute resolution procedure so that you can both find a more constructive way to solve the problem.
Further reading