The PM vows to do “everything in my power” to help restore Northern Ireland’s devolved government.