Papua New Guinea prime minister resigns amid government defections and looming questions over $832,000 UBS loan