A Pakistani anti-terrorism court on Wednesday cancelled the arrest warrants against former prime minister Imran Khan and granted him pre-arrest bail till July 7 in two cases related to arson attacks during the May 9 violence which erupted following his arrest in a corruption case.