A homeless man who had appeared to be cutting off his left arm was shot and killed Tuesday by Metropolitan Police Department officers as he advanced at them with a 29-inch sharp object.