With votes still being tallied, Prime Minister Keir Starmer took responsibility for Labour losing hundreds of municipal seats but insisted he would not resign.