Israeli military admits killing three hostages by accident