RFC: dense blkdiag

I needed this earlier this week. This is a truly naive approach, and I'm sure it can be improved, but it does seem to get the job done.

cf. #5828
Maybe return a 2-d array here instead?