IOB wipes out ₹20,000 cr losses, plans ₹5,000 cr QIP