Iraq war becomes key issue in Labour leadership battle