Bagnaia plays smart with MotoGP title on knife edge in Australia