A new rule making it mandatory for drivers to learn Marathi or lose their licence had sparked protests.