Courts extend Imran’s bails in funding, terrorism cases