Parliament votes in favour of Pashinyan, days after PM Sargsyan resigned following widespread anti-government protests.