Unfortunately for you, you cannot travel abroad with such a passport. However, it's not anything to worry yourself over too much; just a petty attempt by those officers to obtain a bribe from you.
What you can do is file for an RTI. Write to the Chief Public Information Officer of the Consular, Passport, and Visa Division, Ministry of External Affairs. You can also do it online as per Passport Seva Online Portal.
From what I've heard, if the first time of filing doesn't yield any results, the second attempt is more likely to have your passport dispatched. Good luck!