Fix typedef case for blocks with non-void return type