The last chapter in one of Australia’s biggest environmental battles is set to play out after Rio moved to shut down and rehabilitate the Ranger uranium mine near Kakadu.