Hamas, Saudi Arabia and Lebanon, among others, have upheld Iran's right to defend itself as it condemned Israel's attacks