In a development that could lead to a hardening of Israel’s position on Iran’s nuclear program, Israeli Defense Minister Ehud Barak announced Monday that he was resigning from political life, a surprise move that removed a moderate voice from the government of Prime Minister Benjamin Netanyahu.