Court allows withdrawal of 2018 case against Hardik Patel