Cronulla Sharks have re-instated Shane Flanagan as head coach following an internal review sparked by a doping scandal.