The high court in Lahore, Pakistan on Wednesday ordered security forces to withdraw from the home of former prime minister Imran Khan, ending a standoff with a mob of his supporters that began when the police made their second attempt to serve an arrest warrant.