use underlying structure type as with_type for constant structure initialization (closes #2933)