Travis Head late declaration costs South Australia victory