President Biden said Wednesday that he would halt the shipment of U.S. offensive weapons to Israel, which he acknowledged have been used to kill civilians in Gaza, if the country moves ahead with a long-planned ground invasion of the city of Rafah — the first time he has threatened to withhold U.S. military aid and the most direct warning he has issued to Israel in the seven-month war.