U K Prime Minister Boris Johnson agrees to resign