Punjab edge Rajasthan in IPL thriller