The mayor confirmed the move following a union-posted letter that intensified criticism of his handling of two recent deaths.