Terminated IPL teams to go to courts