Australia march into semis after registering fighting 4-3 win over Spain