It's a misnomer. The French do not have any destroyers. All their ships are called frigates. The Japanese do not have any frigates. All their ships are Destroyers... And yes, the P17 and 17A ships are FAR more capable than R class but they lack the command facilities that P15 and 15A have, and have a shorter range.
In the Indian context destroyers were command vessels with a heavier focus on anti-ship roles, frigates were more multi role with all round capabilities but perhaps a heavier focus on ASW.
It is certainly true that the P-15A/B and P-17A have dramatically blurred the lines between destroyer and frigate as they will have near identical weapons, sensors and compliments. Arguably the P-17A will actually be the more advanced vessel!
Perhaps the IN painted themselves into a corner as they had a decided a long time ago that the P-15A would be based on the modestly sized P-15 hull and naturally the P-15B was based on that also whereas the P-17/A was a clean sheet design.
The 15B’s successor is going to have to be a huge leap in capabilities (>10,000 tons).