Congress party lawmakers formally elected Singh to return as the prime minister on Tuesday .