Imran Khan demands prime minister to resign