"Bitter medicine" of demonetisation to "treat" corruption: PM