Newly elected lawmakers from India's ruling alliance led by the Hindu nationalist Bharatiya Janata Party have elected Narendra Modi as their leader, paving the way for his second five-year term as prime minister after a thunderous victory in national elections.