New president voted in for Myanmar following resignation