British prime minister says politicians should focus on Northern Ireland’s cost-of-living pressures and public services rather than constitutional debates.