Steve Smith’s heroics and India’s late batting collapse puts Australia firmly in control of the pivotal fourth Test.