Hamas made grave mistake by attacking Israel: Israeli defense minister