Leftist president mounts stunning comeback after unexpected first round loss galvanised supporters of Flavio Bolsonaro.