After former Coalition government repeatedly sided with US against it, Australia has shifted position to abstain