Manager Derek McInnes praised Aberdeen's battling spirit after his 10-man team defeated Motherwell 2-0 in the Scottish League Cup quarter-finals.