Archbishop of York prays for PM following his resignation