I have been working with a private limited company for the last two years. As I am in my seventh month of pregnancy, I received an email from my director regarding my non-performance, not adhering to office timings, and other issues. They are asking me to resign from the company after October 31st, knowing that my delivery date is in November. Despite this, they mentioned that they do not want to lose talent like me and are interested in having me rejoin them in March 2018. What can I do in this situation, as it appears they are taking this action to avoid providing me with maternity benefits?