Caged clusters in Al$_{11}$Ir$_4$: structural transition and insulating phase