Have you tried phoning the FRRO (different from the FRO) to ask them? Google suggests you may be able to get the FRRO to issue you with an exit visa despite the missing residence permit. Experiences with the FRO seem more hit and miss, but you could always drop in and ask them if you have the time to spare…
Credit:stackoverflow.com‘