Elon Musk has filed to stay Twitter's case against him on the grounds that he has agreed to renew his offer to buy the platform.